package com.hube.platform.tenant.entity.po.base;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

/**
 * @author : Aaron
 * @date : 2022/6/8
 */
public class SuperModel implements Serializable {
    private static final long serialVersionUID = 1L;
    //主键
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    //逻辑删除位,0未删除，1已删除
    @TableField(fill = FieldFill.INSERT)
    @TableLogic
    private Integer deleteFlag = 0;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }
}